import request from '../utils/request';
//人员管理业务接口文档
const api = {
  //获取所有组织机构数据
  GetAllOrganizations(data?: any) {
    return request({
      url: '/api/Organization/GetAllOrganizations',
      method: 'post',
      data,
    });
  },
  //新增组织机构数据
  AddOrganization(data?: any) {
    return request({
      url: '/api/Organization/AddOrganization',
      method: 'post',
      data,
    });
  },
};
//业务开单接口
export default api;
